import http from "@/api";

import { PORT1 } from "@/api/config/servicePort";











// 合并属性
// 获取左侧筛选列表
export const getLeftApi = (params: FormData) => {
  return http.get(PORT1+`/goods-certify/certify-list/left-menu`, params, { cancel: false,loading: false  });
};
export const getmergeDataApi = (params: FormData) => {
  return http.post(PORT1+`/goods-certify/certify-list/list?get_auth=1&auth_name=goods_document`, params, { cancel: false,loading: false  });
};
// 表头
export const getmergfieldApi = (params: FormData) => {
  return http.get(PORT1+`/goods-certify/certify-list/field`, params, { cancel: false,loading: false  });
};
// 行内编辑
export const updatamergfieldApi = (params: FormData) => {
  return http.get(PORT1+`/goods-config/mergeProp/list/update`, params, { cancel: false,loading: false  });
};
// 枚举值弹框
export const gatEnmuApi = (params: FormData) => {
  return http.get(PORT1+`/goods-config/mergeProp/list/enum-list`, params, { cancel: false,loading: false  });
};
// 枚举值删除
export const mergePropdelete = (params: FormData) => {
  return http.get(PORT1+`/goods-certify/certify-list/delete`, params, { cancel: false,loading: false  });
};
// 获取下拉的下拉值
export const getoptionApi = (params: FormData) => {
  return http.post(PORT1+`/goods-certify/certify-list/search-item`, params, { cancel: false,loading: false  });
};
